home *** CD-ROM | disk | FTP | other *** search
/ The Very Best of Atari Inside / The Very Best of Atari Inside 1.iso / mint / mintmant / psigbloc.txt < prev    next >
Text File  |  1992-03-24  |  2KB  |  64 lines

  1. Psigblock(2)              Oct. 1, 1991               Psigblock(2)
  2.  
  3.  
  4.  
  5. NAME
  6.      Psigblock, Psigsetmask - block or unblock delivery  of  sig-
  7.      nals
  8.  
  9. SYNOPSIS
  10.      LONG Psigblock( LONG mask );
  11.      LONG Psigsetmask( LONG mask );
  12.  
  13. DESCRIPTION
  14.      Psigblock adds the set of signals defined  by  the  variable
  15.      mask  to the set of signals which are blocked from delivery.
  16.      Each bit of mask represents a signal; if bit n  of  mask  is
  17.      set, then signal number n is blocked.  Psigblock returns the
  18.      set of blocked signals as it was prior to  the  new  signals
  19.      being added to it; the old set can thus be restored with the
  20.      Psigsetmask call.
  21.  
  22.      Psigsetmask replaces the set of blocked signals with the set
  23.      in  mask;  the bits of mask have the same meaning as they do
  24.      for Psigblock, except that bits that are set to 0 will cause
  25.      the corresponding signals to no longer be blocked.  Psigset-
  26.      mask returns the old set of blocked signals.
  27.  
  28.      Note that certain signals (e.g. SIGKILL) cannot be  blocked,
  29.      and  the kernel will (silently) clear the corresponding bits
  30.      in mask before changing the blocked signal set.
  31.  
  32.      Blocked signals  remain  blocked  across  Pfork  and  Pvfork
  33.      calls.  After  a  Pexec  call, the child process will always
  34.      start with an empty set of blocked  signals,  regardless  of
  35.      which signals were blocked by the parent.
  36.  
  37. SEE ALSO
  38.      Pkill(2), Psignal(2), Psigpending(2)
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60. Version 0.9   Last change: MiNT Programmer's Manual             1
  61.  
  62.  
  63.  
  64.